/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package jmenu.main;

import java.awt.Component;
import javax.swing.JTabbedPane;

/**
 *
 * @author Boner
 */
public class MenuTabbedPane extends JTabbedPane{

    private int couter = 1;

    public void addmenu(Component com)
    {
        this.add("Nový jídelníček "+String.valueOf(this.couter) , com);
        this.couter++;
    }
}
